package org.example.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 轮播图视图对象
 * @author khb78
 */
@Schema(description = "轮播图视图对象")
@Data
public class CarouselVO {

    @Schema(description = "轮播图序号")
    private Integer id;

    @Schema(description = "轮播图地址")
    private String imgUrl;

    @Schema(description = "轮播图跳转地址")
    private String linkUrl;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateTime;
}
